using System.ServiceModel;

namespace RemoteWorker
{
    [ServiceContract(CallbackContract = typeof (INantTask), SessionMode = SessionMode.Required)]
    public interface IWorkerManager
    {
        [OperationContract(IsTerminating = false)]
        bool CheckWorker(string workerName);

        [OperationContract(IsTerminating = false)]
        void Execute(string workerName, string fileName, string args);
    }
}